﻿using System;
using System.ComponentModel;
using System.Windows.Forms;

namespace Marmat.Forms
{
    public partial class DropDownBox
    {

        /// <summary>
        /// 单击命令按钮的时候执行。
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("单击命令按钮的时候执行。")]
        public event EventHandler ModalButtonClick;


        /// <summary>
        /// DropDownForm打开前执行。
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("DropDownForm打开前执行。")]
        public event EventHandler<CancelEventArgs> DropDownFormOpening;

        /// <summary>
        /// DropDownForm打开时执行。
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("DropDownForm打开时执行。")]
        public event EventHandler DropDownFormOpened;

        /// <summary>
        /// DropDownForm打开前执行。
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("DropDownForm关闭前执行。")]
        public event EventHandler<ToolStripDropDownClosingEventArgs> DropDownFormClosing;

        /// <summary>
        /// DropDownForm打开时执行。
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("DropDownForm关闭时执行。")]
        public event EventHandler<ToolStripDropDownClosedEventArgs> DropDownFormClosed;
    }
}